package RandomValue;

public class VintageModule {

    private String dt;

    private String customer_id;

    private String product_code;

    private String loan_id;
//
//    private String confirm_date;

    private int loan_status;

    private String kpi;
//
//    private String overdue_days;

    private int issue_amount;

    private int principal_payable;

    private int overdue_principal_payable;

    private int principal_repay;

    private String unionloan_name;

    public VintageModule(String dt, String customer_id, String product_code, String loan_id, int loan_status,String kpi,int issue_amount,int principal_payable,int overdue_principal_payable,int principal_repay,String unionloan_name) {
        this.dt = dt;
        this.customer_id = customer_id;
        this.product_code = product_code;
        this.loan_id = loan_id;
//        this.confirm_date = confirm_date;
        this.loan_status = loan_status;
        this.kpi = kpi;
//        this.overdue_days = overdue_days;
        this.issue_amount = issue_amount;
        this.principal_payable = principal_payable;
        this.overdue_principal_payable = overdue_principal_payable;
        this.principal_repay = principal_repay;
        this.unionloan_name = unionloan_name;
    }


    public String toShow(){
        return String.format("%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s",this.dt,this.customer_id,this.product_code,this.loan_id,this.loan_status,this.kpi,this.issue_amount,this.principal_payable,this.overdue_principal_payable,this.principal_repay,this.unionloan_name);
    }

}
